package com.example.mongodb.controller.原型模式;

import lombok.Data;

/**
 * @author zxb
 * @version 1.0
 * @date 2025-04-01 11:40
 */
@Data
public class Combo {

    private String name;
    private Double price;


    @Override
    protected Object clone() throws CloneNotSupportedException {

        Object object = super.clone();
        Combo combo = (Combo) object;

//        combo.name = this.name.clone();

        return null;
    }


}
